package info.rongtong.domain;

import java.sql.Timestamp;

/**
 * Picture entity. @author MyEclipse Persistence Tools
 */

public class Picture implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer pid;
	private String purl;
	private Timestamp ptime;
	private String plabel;
	private Integer ptop;
	private Integer precommend;
	private String pauthor;
	private Integer preadNum;
	private String ptitle;
	private Category category;

	// Constructors

	/** default constructor */
	public Picture() {
	}


	// Property accessors

	public Integer getPid() {
		return this.pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPurl() {
		return this.purl;
	}

	public void setPurl(String purl) {
		this.purl = purl;
	}

	public Timestamp getPtime() {
		return this.ptime;
	}

	public void setPtime(Timestamp ptime) {
		this.ptime = ptime;
	}

	public String getPlabel() {
		return this.plabel;
	}

	public void setPlabel(String plabel) {
		this.plabel = plabel;
	}

	public Integer getPtop() {
		return this.ptop;
	}

	public void setPtop(Integer ptop) {
		this.ptop = ptop;
	}

	public Integer getPrecommend() {
		return this.precommend;
	}

	public void setPrecommend(Integer precommend) {
		this.precommend = precommend;
	}

	public String getPauthor() {
		return this.pauthor;
	}

	public void setPauthor(String pauthor) {
		this.pauthor = pauthor;
	}

	public Integer getPreadNum() {
		return this.preadNum;
	}

	public void setPreadNum(Integer preadNum) {
		this.preadNum = preadNum;
	}


	public String getPtitle() {
		return ptitle;
	}


	public void setPtitle(String ptitle) {
		this.ptitle = ptitle;
	}


	public Category getCategory() {
		return category;
	}


	public void setCategory(Category category) {
		this.category = category;
	}
	
}